#
# Be sure to run `pod lib lint SubspecTest.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'SubspecTest'
  s.version          = '0.1.0'
  s.summary          = 'Sub spec test.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
    Add long description of the pod here.
                       DESC

  s.homepage         = 'https://github.com/fanefane/lib'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'faneyoung@126.com' => 'yangfan123802@ehousechina.com' }
  s.source           = { :git => '/Users/faneyoung/demoGit/SubspecTest', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '10.0'

#  s.public_header_files = 'SubspecTest/SubspecTest.h'
  s.source_files = 'SubspecTest/Classes/SubspecTest.h'
  
  s.subspec 'Base' do |bb|
      bb.source_files = 'SubspecTest/Classes/Base/*'
      bb.frameworks = 'UIKit'
  end

  s.subspec 'ReportModule' do |rr|
      rr.source_files = 'SubspecTest/Classes/ReportModule/*'
      rr.frameworks = 'UIKit'
      rr.dependency 'AFNetworking'
      rr.dependency 'SDWebImage'
      rr.dependency 'SubspecTest/Base'
  end

  s.subspec 'ComplainPraise' do |cp|
      cp.source_files = 'SubspecTest/Classes/ComplainPraise/*'
      cp.frameworks = 'UIKit'
  end

  s.subspec 'VistorRegist' do |vr|
      vr.source_files = 'SubspecTest/Classes/VistorRegist/*'
      vr.frameworks = 'UIKit'
  end

  
  # s.resource_bundles = {
  #   'SubspecTest' => ['SubspecTest/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
#   s.dependency 'AFNetworking', '~> 2.3'
end
